Package com.fwdekker.randomness

Contains classes shared by all sub-packages.

Types

Cache
Link copied to clipboard
class Cache<K, V>(creator: (K) -> V)
A simple thread-safe cache of objects.
CapitalizationMode
Link copied to clipboard
enum CapitalizationMode : Enum<CapitalizationMode>
A mode in which a word should be capitalized.
DataGenerationException
Link copied to clipboard
class DataGenerationException(message: String?, cause: Throwable?) : Exception
Thrown if a random datum could not be generated.
DataGroupAction
Link copied to clipboard
abstract class DataGroupAction(icon: Icon) : ActionGroup
A group of actions for a particular type of random data that can be generated.
DataInsertAction
Link copied to clipboard
abstract class DataInsertAction(icon: Icon) : AnAction
Inserts randomly generated strings at the event's editor's carets.
DataInsertArrayAction
Link copied to clipboard
abstract class DataInsertArrayAction(arrayScheme: () -> ArrayScheme, dataInsertAction: DataInsertAction, icon: Icon) : DataInsertAction
Inserts randomly generated arrays of strings at the event's editor's carets.
DataInsertRepeatAction
Link copied to clipboard
abstract class DataInsertRepeatAction(dataInsertAction: DataInsertAction, icon: Icon) : DataInsertAction
Inserts the same randomly generated string at the event's editor's carets.
DataInsertRepeatArrayAction
Link copied to clipboard
abstract class DataInsertRepeatArrayAction(dataInsertArrayAction: DataInsertArrayAction, icon: Icon) : DataInsertAction
Inserts the same randomly generated array of strings at the event's editor's carets.
DataQuickSwitchSchemeAction
Link copied to clipboard
abstract class DataQuickSwitchSchemeAction<T : Scheme<T>>(settings: Settings<*, T>, icon: Icon) : QuickSwitchSchemeAction
Opens a popup to allow the user to quickly switch to the selected scheme.
DataSettingsAction
Link copied to clipboard
abstract class DataSettingsAction(icon: Icon) : AnAction
Opens the settings window for changing settings.
DummyInsertAction
Link copied to clipboard
class DummyInsertAction(dummySupplier: (Random) -> String) : DataInsertAction
Inserts a dummy value.
DummyInsertArrayAction
Link copied to clipboard
class DummyInsertArrayAction(arrayScheme: () -> ArrayScheme, dummySupplier: (Random) -> String) : DataInsertArrayAction
Inserts an array of dummy values.
DummyInsertRepeatAction
Link copied to clipboard
class DummyInsertRepeatAction(dummySupplier: (Random) -> String) : DataInsertRepeatAction
Inserts a repeated array of dummy values.
DummyInsertRepeatArrayAction
Link copied to clipboard
class DummyInsertRepeatArrayAction(arrayScheme: () -> ArrayScheme, dummySupplier: (Random) -> String) : DataInsertRepeatArrayAction
Inserts a repeated array of dummy values.
ErrorReporter
Link copied to clipboard
class ErrorReporter : ErrorReportSubmitter
A report submitter that opens a pre-filled issue creation form on Randomness' GitHub repository.
PopupAction
Link copied to clipboard
class PopupAction : AnAction
Shows a popup for all available Randomness actions.
RandomnessConfigurable
Link copied to clipboard
class RandomnessConfigurable : Configurable
Randomness' root configurable; all other configurables are its children.
Scheme
Link copied to clipboard
interface Scheme<SELF> : Scheme
A scheme is a collection of configurable values.
SchemesPanel
Link copied to clipboard
abstract class SchemesPanel<T : Scheme<T>>(settings: Settings<*, T>) : SimpleSchemesPanel<T> , SchemesModel<T>
A panel to manage schemes with, providing a dropdown box to select schemes from and buttons to remove, rename, etc.
Settings
Link copied to clipboard
interface Settings<SELF, SCHEME : Scheme<SCHEME>> : PersistentStateComponent<SELF>
Settings are composed of Schemes and persist these over IDE restarts.
SettingsComponent
Link copied to clipboard
abstract class SettingsComponent<S : Settings<S, T>, T : Scheme<T>>(settings: S) : SettingsManager<S>
A component that allows the user to edit settings and its corresponding schemes.
SettingsComponentListener
Link copied to clipboard
class SettingsComponentListener<S : Settings<S, T>, T : Scheme<T>>(component: SettingsComponent<S, T>) : SchemesPanel.Listener<T>
A Listener that takes events occurring in a SchemesPanel and handles them in a SettingsComponent.
SettingsConfigurable
Link copied to clipboard
abstract class SettingsConfigurable<S : Settings<S, T>, T : Scheme<T>> : Configurable
A configurable to change settings of type S.
SettingsManager
Link copied to clipboard
interface SettingsManager<S : Settings<*, *>>
A SettingsManager is an object that can save and load settings.
ValidationInfo
Link copied to clipboard
data class ValidationInfo(message: String, component: JComponent?, quickFix: Runnable?)
Carries information on why a component has invalid input.